package javaweb_work01.login.Test;

import javaweb_work01.login.Dao.UserDao;
import javaweb_work01.login.Dao.UserDaoImp;
import javaweb_work01.login.Entity.User;
import javaweb_work01.login.service.UserService;

public class UserServiceTest {

    public static void main(String[] args) {

        UserDao userDao = new UserDaoImp();
        UserService userService = new UserService();
        User admin = userService.userLoginService(new User("admin", "123456"));
        System.out.println("传入的数据为：" + admin);
    }
}
